
#include "ogl/gut/MeshDesc5.h"
#include "imgui/Editor.h"

using namespace Ogl::Gut;

template <>
bool ImGui::Editor::Edit(const std::string& label, Ogl::Gut::MeshDesc5& inst)
{
    int index = 0;
    if (TreeNode(label.c_str(), inst.m_BitFlag, index++))
    {
        EditInst("Path", inst.m_Path);
        EditInst("Index", inst.m_Index);
        ComboInst<Ogl::Gut::VertexType, Ogl::Gut::VertexTypeDesc>("VertexType", Dictionary::m_VertexDescs, inst.m_Type);
        TreePop();
    }

    return false;
};